package cn.kgc.common.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Created by teacher ZHANG on 2022/10/5
 */
//泛型：将数据类型作为参数，T代表任意类型，基本类型除外
//https://blog.csdn.net/m0_52043808/article/details/123137339
@Data
public class DataPage<T> implements Serializable {
    private List<T> dataList;
    private Integer rowCount;  //总条数
    private Integer pageCount; //总页数
    private Integer pageNum;   //当前页
    private Integer pageSize;  //页面大小
}
